<div id="anony-sns" class="section">
	<div class="wrapper">
    	<div class="ik_ad" style="margin-bottom:10px"><a href="http://pan.baidu.com/s/1o6HhXEE"><img src="{{PUBLIC}}/images/temp/down_ik.jpg"></a></div>
    	<div class="side">
        	<h2>
        	活跃用户
            &nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·
            <span class="pl">&nbsp;(
                    <a href="{{url('home/user/activeusers')}}">更多</a>
                ) </span>
    		</h2>
			<div class="online">
            	{% if arrHotUser %}
				{% for item in arrHotUser %}
	            <dl class="obu">
	                <dt>
	                    <a href="{{url('space/'~item['doname'])}}">
	                    <img alt="{{item['username']}}" title="{{item['username']}}" class="m_sub_img" src="{{item['face_48']}}" width="48" />
	                    </a>
	                    {% if item['isonline'] == 1 %}
	                    	<div class="border-arrow" title="在线用户"></div>
	                    {% endif %}
	                </dt>
	                <dd>
	                    <div class="uname"><a href="{{url('space/'~item['doname'])}}">{{item['username']}}</a></div>
                        <span class="follow">粉丝 {{item['count_followed']}} 人</span>
	                </dd>
	            </dl>
                {% endfor %}
	            {% endif %}
                <br clear="all">
			</div>
            
        </div>
        <div class="main">
        	
        	<div class="mod">
				<h2>
			        热点内容
			            &nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·
			    </h2>
				<div class="albums">
				    <ul>
                      {% for key,item in arrPhoto %}
				      <li>
				      <div class="pic">
				          <a href="{{url('space/photos/album/'~item['albumid'])}}"><img alt="{{item['albumname']}}" title="{{item['albumname']}}" data-origin="#" src="{{item['simg']}}" width="170" height="170"></a>
				      </div>
				      <div class="tit"><a href="{{url('space/photos/album/'~item['albumid'])}}">{{item['albumname']}}</a></div>
				      <span class="num">{{item['count_photo']}} 张照片</span>
				      </li>
				      </foreach>  
					  {%endfor%}                                                                                    
				    </ul>
				</div>
  				<div class="notes">
					<ul>
                   	{% for key,item in arrNote %}
                    
                     	{% if key < 2 %}
                        <li>
                        <div class="title">
                            <span class="author">
                            {{item['user']['username']}}的日记
                            </span><a href="{{url('space/notes/show/'~item['noteid'])}}">{{item['title']}}</a>
                        </div>
                        <p>{{sub_str(item['content'],50)}}...</p>
                        </li>
                    	{% else %}
						<li><a href="{{url('space/notes/show/'~item['noteid'])}}">{{item['title']}}</a></li>
                        {% endif %}
                    {%endfor%}
					</ul>
				</div>
  
                  
        	</div>
            
        </div>
    </div>
</div>